<template>
  <el-container>
   <el-header>
       <el-button type="primary" size="large" style="font-size: 17px" @click="router.push('/postPosition')">
         <el-icon size="20"><Plus /></el-icon>发布职位
       </el-button>
  <el-menu
      :default-active="activeIndex"
      class="el-menu-demo"
      mode="horizontal"
      text-color="#b4b4b4"
      style="background-color: rgba(14,159,239,0)"
      default-active="/recruit/positionManage/allPosition"
      active-text-color="orange"
      router
  >
    <el-menu-item index="./allPosition" style="font-size: 17px">全部职位</el-menu-item>
    <el-menu-item index="./open" style="font-size: 17px">开放中</el-menu-item>
    <el-menu-item index="./notOpen" style="font-size: 17px">待开放</el-menu-item>
    <el-menu-item index="./auditFailed" style="font-size: 17px">审核失败</el-menu-item>
  </el-menu>
   </el-header>
    <br>
  <el-main style="background-color: rgba(187,204,213,0)">
    <router-view/>
  </el-main></el-container>
</template>

<script setup>
import {onMounted, ref} from "vue";
import axios from "axios";
import router from "@/router";
import {ElMessage} from "element-plus";

let user=localStorage.user?JSON.parse(localStorage.user):null;
let Authorization=localStorage.user?JSON.parse(localStorage.Authorization):null;


</script>

<style scoped>

</style>